<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SemOpt: LabelIterator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">SemOpt
   &#160;<span id="projectnumber">0.2alpha5-SCC</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classLabelIterator.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">LabelIterator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="LabelIterator" -->
<p>Class defining a const iterator for the elements of a the labellings.  
 <a href="classLabelIterator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Labelling_8h_source.html">Labelling.h</a>&gt;</code></p>

<p><a href="classLabelIterator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classArgument.html">Argument</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLabelIterator.html#aca208d6741e26dac5c5c440aea2fe455">getKeyValue</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the value of the key of the pair pointed by this iterator  <a href="#aca208d6741e26dac5c5c440aea2fe455"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class defining a const iterator for the elements of a the labellings. </p>

<p>Definition at line <a class="el" href="Labelling_8h_source.html#l00019">19</a> of file <a class="el" href="Labelling_8h_source.html">Labelling.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aca208d6741e26dac5c5c440aea2fe455"></a><!-- doxytag: member="LabelIterator::getKeyValue" ref="aca208d6741e26dac5c5c440aea2fe455" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classArgument.html">Argument</a>* <a class="el" href="classLabelIterator.html#aca208d6741e26dac5c5c440aea2fe455">LabelIterator::getKeyValue</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the value of the key of the pair pointed by this iterator </p>
<p>You can use this function to retrieve from an iterator, the value of the key stored in the pair of the map. For example: </p>
<div class="fragment"><pre class="fragment">                cout &lt;&lt; <span class="stringliteral">&quot;arguments stored in this Labelling:&quot;</span>&lt;&lt;endl;
                <span class="keywordflow">for</span> (<span class="keyword">auto</span> it=this-&gt;labelling.begin();it!=<span class="keyword">this</span>-&lt;labelling.end();it++){
                        cout &lt;&lt; *(it.getKeyValue()) &lt;&lt; endl;
                }
</pre></div> 
<p>Definition at line <a class="el" href="Labelling_8h_source.html#l00046">46</a> of file <a class="el" href="Labelling_8h_source.html">Labelling.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="Labelling_8h_source.html">Labelling.h</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classLabelIterator.html">LabelIterator</a>      </li>

    <li class="footer">Generated on Fri Jan 17 2014 11:47:52 for SemOpt by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
